@import "_var";

.container {
  margin: auto;
  width: 1200px;
  padding: 0 20px;
}

.app-header {
  margin-bottom: 20px;
  background-color: @text-brand;
  .container {
    height: 90px;
    display: flex;
    align-items: center;
  }
}

.book-cover {
  height: 0;
  padding-bottom: 135.29%;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}

.default-cover {
  .book-cover;
  padding-bottom: 75%;
}

.meta {
  font-size: 14px;

  > div {
    display: flex;
    margin-bottom: 12px;
    &:last-child {
      margin-bottom: 0;
    }
  }

  dt {
    flex: 0 0 5.5em;
    font-weight: bold;
    cursor: default;
  }
  dd {
    flex: 1;
    color: #555;
  }

  &.lg {
    dt {
      flex-basis: 7em;
    }
  }
}

.search-panel {
  position: relative;
  padding: 30px 0;
  background-color: #fffc;

  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 120px;
    background-color: #e2d6bf;
  }

  .group {
    position: relative;
    z-index: 1;
    display: flex;
    margin-bottom: 24px;
    &:last-child {
      margin-bottom: 0;
    }

    .label {
      padding: 0 30px;
      font-size: 14px;
      color: #333;
    }

    .values {
      flex: auto;
      display: flex;
      padding: 0 30px;

      .value {
        margin-right: 30px;
        font-size: 14px;
        color: #333;
        a {
          cursor: pointer;
        }

        &.active {
          color: @text-brand;
        }
      }
    }
  }
}

.list-item {
  display: flex;
  position: relative;
  padding: 32px 40px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  .thumb {
    width: 170px;
    margin-right: 32px;
  }
  .content {
    flex: 1;
  }
  .hd {
    margin-bottom: 16px;
    margin-top: -4px;
    line-height: 1.4;
    .tag {
      margin-right: 4px;
      color:@text-brand;
      font-size: 14px;
    }
    .tit {
      font-weight: bold;
    }
  }
}

.w-app-wrapper {
  height: 100vh;
  display: flex;
  background-image: url(../wide/search-bg.jpg);
  background-position: center;
  background-size: cover;
  padding: 60px 100px 40px 60px;

  aside {
    flex: 0 0 auto;
    display: flex;
    margin-right: 40px;
    header {
      margin-top: 20px;
      display: flex;
    }
    .tit {
      height: 621px;
      margin-top: 5px;
      margin-right: 35px;
    }
    .sp {
      width: 4px;
      height: 722px;
    }
  }
  main {
    flex: 1;
  }
}

.w-app-wrapper {
  overflow: hidden;
  section.panel {
    margin-bottom: 32px;
    .hd {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
      color: @text-brand;
      font-weight: bold;
      font-size: 24px;
      .clear {
        margin-left: auto;
        font-size: 18px;
        color: @text-brand;
      }
      .more {
        margin-left: auto;
        color: @text-brand;
        font-size: 18px;
        display: flex;
        align-items: center;
        img {
          margin-left: 8px;
        }
      }
    }
  }
}

.pagination-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  .pagination-content {
    flex: 1;
  }
  .pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    .text {
      margin: 0 1em;
    }
  }
}